package cn.rui.common;

import cn.rui.SpringbootSatokenApplication;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Component
public class Restart {

    @Async("taskExecutors")
    public  void startproject() {
        SpringbootSatokenApplication.restart ();
    }
}
